@echo off
setlocal enabledelayedexpansion
goto :main

:array_add
set /a count +=1
set array%count%=%1
goto :eof


:array_read
rem echo !array%1!
set tempvar=!array%1!
rem echo %tempvar%
goto :eof


:main
set /a count=0
for /f "tokens=2 delims=:" %%a in (setLogS) do call :array_add %%a

for /l %%a in (1,1,%count%) do (
		call :array_read %%a
		set val=!val! !array%%a!
		)

::echo java -jar LogS.jar %val%

java -jar LogS.jar %val%
pause

